/**
 * 
 */
package com.wsj.web.action.test;

import java.util.Date;
import java.util.TimerTask;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;
import org.springframework.scheduling.timer.ScheduledTimerTask;

/**
 * @author super
 *
 * 定时器测试
 */
public class JobSchedule extends QuartzJobBean
{
	  Log logger = LogFactory.getLog(this.getClass());
	 static long counter = 0;  //计数器
	 
	 
	 public synchronized void doTimerSchedule()
	 {
		 logger.error("\n\n测试定时器........"+new Date());
		 
		 
	 }


	  
 	 /*(non-Javadoc)
	 * @see org.springframework.scheduling.quartz.QuartzJobBean#executeInternal(org.quartz.JobExecutionContext)
	 */
	@Override
	protected void executeInternal(JobExecutionContext arg0)throws JobExecutionException 
	{
		// TODO Auto-generated method stub

	} 



	/*@Override
	public void run() 
	{
		 logger.error("\n\n测试定时器........"+new Date());
		
	}*/

}
